package com.orilife.bean;

import java.io.Serializable;

public class Address implements Serializable{
	String name;
	String phone;
	String region;
	String regionDetails;
	String id;
	boolean isDefault;
	
	
	public String getId() {
		return id;
	}
	
	public boolean isDefault() {
		return isDefault;
	}
	public void setDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}
	public Address( String id,String name, String phone, String region,
			String regionDetails, boolean isDefault) {
		super();
		this.name = name;
		this.phone = phone;
		this.region = region;
		this.regionDetails = regionDetails;
		this.id = id;
		this.isDefault = isDefault;
	}
	public Address(String name, String phone, String region,String regionDetails) {
		super();
		this.name = name;
		this.phone = phone;
		this.region = region;
		this.regionDetails = regionDetails;
		
	}
	public Address() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public String getRegionDetails() {
		return regionDetails;
	}
	public void setRegionDetails(String regionDetails) {
		this.regionDetails = regionDetails;
	}
	@Override
	public String toString() {
		return "Address [name=" + name + ", phone=" + phone + ", region="
				+ region + ", regionDetails=" + regionDetails + "]";
	}
	
	
}
